package cn.kgc.tangcco.liahozhe.spring.e_anno02;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;



public class App {
	private ApplicationContext context = new ClassPathXmlApplicationContext("cn/kgc/tangcco/liahozhe/spring/e_anno02/bean.xml");
	@Test
	public void test01() {
		UserAction userAction = (UserAction) context.getBean("userAction");
		userAction.addUser();
	}
}
